package routers

import (
    "easyblog/controllers/admin"
    "easyblog/controllers/client"
    "github.com/beego/beego/v2/server/web"
)

func init() {
    web.Include(&admin.ArticleController{})
    web.Include(&admin.CategoryController{})
    web.Include(&admin.TagController{})
    web.Include(&admin.LoginController{})
    web.Include(&admin.UploadController{})
    web.Include(&admin.FriendLinkController{})

    web.Include(&client.ArticleController{})
    web.Include(&client.TagController{})
    web.Include(&client.CategoryController{})
    web.Include(&client.FriendLinkController{})
}
